package cn.vpclub.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * Created by kellen on 2017/6/17.
 */
@Data
@Document
public class Person implements Serializable {
    @Id
    public String id;
    private Integer age;
    private String name;
}
